package com.rogo.mini.core
{
	import flash.display.Graphics;
	import flash.display.Sprite;

	public interface IVisualElement
	{
		function get s():Sprite;
		function get graphics():Graphics;
		
		function get x():Number;
		function set x(value:Number):void;
		
		function get y():Number;
		function set y(value:Number):void;
		
		function get width():Number;
		function set width(value:Number):void;
		
		function get height():Number;
		function set height(value:Number):void;
		
		function initialize():void;
		
		function addElement(element:IVisualElement):IVisualElement;
		function addElementAt(element:IVisualElement, index:int):IVisualElement;
		function removeElement(element:IVisualElement):IVisualElement;
		function removeElementAt(index:int):IVisualElement;
	}
}